﻿// <copyright file="VotePosition.cs" company="Microsoft Corporation">
// Copyright (c) 2009 Microsoft Corporation All Rights Reserved
// </copyright>
// <author>Michael S. Scherotter</author>
// <email>mischero@microsoft.com</email>
// <date>2009-04-28</date>
// <summary>VotePosition class definition</summary>

namespace NYTimes.Data
{
    /// <summary>
    /// The Member vote position
    /// </summary>
    public class VotePosition
    {
        /// <summary>
        /// Gets or sets the member ID
        /// </summary>
        public string MemberId { get; set; }

        /// <summary>
        /// Gets or sets the possible values of vote_position are Yes, No, Not Voting, Present and Speaker.
        /// </summary>
        public string Position { get; set; }

        /// <summary>
        /// Outputs the book detail properties
        /// </summary>
        /// <returns>a string with named value pairs</returns>
        public override string ToString()
        {
            return Synergist.Utility.GetProperties(this);
        }
    }
}
